package com.sc.nft.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.ShareTeamStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 分享购成团信息分页列表
 *
 * @author liGen
 * @version 1.0
 * @date 2023/12/13 4:38 下午
 */
@Data
public class AdminMallActivityShareTeamPageDTO {

    @ApiModelProperty(value = "成团主键ID")
    private Long id;

    @ApiModelProperty(value = "团长用户ID")
    private Long userId;

    @ApiModelProperty(value = "团长用户手机号")
    private String userTel;

    @ApiModelProperty(value = "总订单数量")
    private Integer totalOrderNum;

    @ApiModelProperty(value = "有效订单数量")
    private Integer validOrderNum;

    @ApiModelProperty("开团时间")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    protected Date createTime;

    @ApiModelProperty(value = "成团状态:0-拼团中,1-拼团成功,2-拼团失败")
    private ShareTeamStatusEnum status;

    @ApiModelProperty(value = "是否已经发放收益")
    private Boolean isIssue;

}
